// Initial File - Paul Jack

#ifndef __USB_CONSTANTS_H__
#define __USB_CONSTANTS_H__

const int USB_BULK_TIMEOUT  = 1500;
const int USB_READ_TIMEOUT  = 500;
const int USB_WRITE_TIMEOUT = 500;
//
//
// Hmmm, these constants are not constant!  They need to be defined in the constructor
//#define USB_CMD_PIPE 0x02
//#define USB_RESP_PIPE 0x86
//#define USB_BULK_PIPE 0x88
const int USB_CMD_PIPE  = 0x01;
const int USB_RESP_PIPE = 0x81;
const int USB_BULK_PIPE = 0x82;

/// The maximum size of each transfer that we will perform. (both in and
/// out). We will not write any command larger than this, but we can receive
/// responses over multiple packets larger than this.
//const int R_USB_MAX_TRANSFER = 2048;
const int R_USB_MAX_TRANSFER = 4096;


#endif // __USB_CONSTANTS_H__